package MultiMediaPlayer.Media.decorator;

import MultiMediaPlayer.Media.Media;


//装饰模式
public abstract class MediaDecorator implements Media {
    protected Media media;

    @Override
    public void play() {
        media.play();
    }

    @Override
    public String getDescription() {
        return media.getDescription();
    }
}
